package com.example.second_home_work

import android.content.Context

class ProgramModel(private val context: Context) {
    fun getProgramAdvice(userInput: String): String {
        return when (userInput.toLowerCase()) {
            "beginner" -> context.getString(R.string.beginner_advice)
            "advanced" -> context.getString(R.string.advanced_advice)
            else -> context.getString(R.string.invalid_input_advice)
        }
    }
}
